iterate througha game object in unity

52

iterate througha game object in unity -

for(int i = 0; i < gameobject.transform.GetChildCount(); i++)
{
   Transform Children = gameobject.transform.GetChild(i);
}

Comments

Submit
0 Comments